/**
 * @author zhu
 * @date 2024-04-01
 */
public class MainTest {
    public static void main(String[] args) {
        Dog xb = new Dog("小白");
        Cat xh = new Cat("小花");
        Tiger xw = new Tiger("小文");

        Woman<Dog> zs = new Woman<>();
        zs.setPet(xb);
        zs.DaZhaoHu();

        Woman<Cat> ls = new Woman<>();
        ls.setPet(xh);
        ls.DaZhaoHu();

        Woman<Tiger> zbw = new Woman<>();
        zbw.setPet(xw);
        zbw.DaZhaoHu();

        // Woman<People> xm = new Woman<>();
        // zbw.setPet(xw);
        // xm.DaZhaoHu();

    }
}
